package com.api.user.model;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "companion_order_track")
public class CompanionOrderTrack implements Serializable {
    @Id
    @Column(name = "track_id")
    private Integer trackId;

    /**
     * 备注
     */
    @Column(name = "track_desc")
    private String trackDesc;

    /**
     * 关联订单
     */
    @Column(name = "order_id")
    private Long orderId;

    /**
     * 发生时间
     */
    @Column(name = "create_time")
    private Long createTime;

    /**
     * 操作人
     */
    @Column(name = "user_id")
    private Long userId;

    private static final long serialVersionUID = 1L;

    /**
     * @return track_id
     */
    public Integer getTrackId() {
        return trackId;
    }

    /**
     * @param trackId
     */
    public void setTrackId(Integer trackId) {
        this.trackId = trackId;
    }

    /**
     * 获取备注
     *
     * @return track_desc - 备注
     */
    public String getTrackDesc() {
        return trackDesc;
    }

    /**
     * 设置备注
     *
     * @param trackDesc 备注
     */
    public void setTrackDesc(String trackDesc) {
        this.trackDesc = trackDesc;
    }

    /**
     * 获取关联订单
     *
     * @return order_id - 关联订单
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置关联订单
     *
     * @param orderId 关联订单
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取发生时间
     *
     * @return create_time - 发生时间
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * 设置发生时间
     *
     * @param createTime 发生时间
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取操作人
     *
     * @return user_id - 操作人
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置操作人
     *
     * @param userId 操作人
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
}